package com.house.service.mapper;
import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.house.model.dto.HouseDto;
import com.house.model.entity.House;
import com.house.model.vo.HouseInfoVo;
import com.house.model.vo.SearchHouseVo;
import com.house.model.vo.HouseVo;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface HouseMapper extends BaseMapper<House> {
    List<HouseVo> houseList();

    void insertHouse(House house);

//    List<HouseVo> listPage(@Param("params")Map params);

    List<SearchHouseVo> searchHouseList(String addr);

    HouseInfoVo houseInfo(String houseId);

    List<HouseVo> getHouseListById(String userId);

    HouseVo selectHouseVoOne(String houseId);
}
